package com.yang.service.model.vo;

import com.zhy.base.service.model.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * Created by xin7k
 * Date: 2019/12/17 0017
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@ApiModel
public class AddrVo extends BaseVO{

    @ApiModelProperty(value = "id", name = "id")
    private String id;

    @ApiModelProperty(value = "收件人", name = "consignee")
    private String consignee;

    @ApiModelProperty(value = "所属用户Id", name = "userId")
    private String userId;

    @ApiModelProperty(value = "地址详情", name = "addrValue")
    private String addrValue;

    @ApiModelProperty(value = "收件人电话", name = "phone")
    private String phone;

    @ApiModelProperty(value = "创建时间", name = "createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否是默认地址", name = "isDefault")
    private Integer isDefault;
}
